package org.example.medicalstaff.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Data
@Repository
@TableName("prescription")
public class Prescripition {
    @TableId(value = "ID",type = IdType.AUTO)
    private int ID;
    @TableField(value = "MedicalID")
    private int MedicalID;
    @TableField(value = "RegistID")
    private int RegistID;
    @TableField(value = "UserID")
    private int UserID;
    @TableField(value = "PrescriptionName")
    private String PrescriptionName;
    @TableField(value = "PrescriptionTime")
    private Date PrescriptionTime;
    @TableField(value = "PrescriptionState")
    private int PrescriptionState;
}
